#include<iostream>
using namespace std;
int main()
{
	int a = 1;
	int& b = a;
	cout << a << endl;
	int& c = b;
	c = 10;
	cout << c << endl;
	cout << a << b << endl;
	return 0;
}